<template>
  <header>
    {{ header }}
    <div>
        <MyButton></MyButton>
    </div>
  </header>
</template>

<script>
export default {
    name:'MyHeader',
    data: function () {
        return {
            header: 123
        }
    }
}
</script>

<style lang="less">
    header{
        background: red;
        height: 60px;
        line-height: 60px;
        margin-bottom: 10px;

        div{
            display: inline-block,;
            margin-left: 20px;
        }
    }
</style>